﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Web.Configuration;


public partial class MemberCentre_frmHeader : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {

        string strYear = DateTime.Now.Year.ToString();
        string strMonth = DateTime.Now.Month.ToString();
        string strDay = DateTime.Now.Day.ToString();
        this.lblTime.Text = strYear + "年" + strMonth + "月" + strDay + "日";

        if (Session[SessionType.Clientname] == null || Session[SessionType.Clientname].ToString().Trim() == "")
            this.lblUserName.Text = "";
        else
            this.lblUserName.Text = Session[SessionType.Clientname].ToString().Trim();        
    }
    protected void linkBtnBack_Click(object sender, EventArgs e)
    {
        Session.RemoveAll();
        //string direct = WebConfigurationManager.AppSettings["Login"];
        Response.Write("<script type='text/javascript'>top.location.href='../Login.aspx';</script>");
    }
    protected void linkBtnrdc_Click(object sender, EventArgs e)
    {
        //Response.Write("<script language='javascript'>window.open('http://www.cmlog.com/protal');</script>");
    }
}
